package com.horse.cloud.boss.controller;

import com.horse.cloud.boss.service.BossUserService;
import com.horse.cloud.data.domain.boss.BossUserQueryBo;
import com.horse.cloud.framework.base.BaseController;
import com.horse.cloud.framework.general.response.Response;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author : bing.Pan
 * @create : Created by intelliJ IDEA
 * @e-mail : 15923508369@163.com
 * @gmdate : 03/28/2018 14:15 星期三
 * @sidesc :
 */
@RestController
@RequestMapping(value = "/bossUser")
public class BossUserController extends BaseController {

	@Autowired private BossUserService bossUserService;


	@ApiOperation(value = "查询boss用户列表",notes = "根据条件查询boss用户列表",response = Response.class)
	@PostMapping(value = "/userList")
	public Response userList(BossUserQueryBo bossUserQueryBo,HttpServletRequest request) throws Exception {






		return bossUserService.userList(bossUserQueryBo);
	}

}
